<% data = [
  { product: "Emerald Silk Gown", price: "$875.00", sku: 124689, qty: 140, sales: "$122,500.00" },
  { product: "Mauve Cashmere Scarf", price: "$230.00", sku: 124533, qty: 83, sales: "$19,090.00" },
  { product: "Navy Merino Wool Blazer with khaki chinos and yellow belt", price: "$445.00", sku: 124518, qty: 32, sales: "$14,240.00" },
] %>

<%= polaris_card(sectioned: false) do %>
  <%= polaris_data_table(data, totals_in_header: true) do |table| %>
    <% table.with_column("Product", total: "Totals") do |row| %>
      <%= row[:product] %>
    <% end %>
    <% table.with_column("Price", numeric: true) do |row| %>
      <%= row[:price] %>
    <% end %>
    <% table.with_column("SKU Number", numeric: true) do |row| %>
      <%= row[:sku] %>
    <% end %>
    <% table.with_column("Net quantity", numeric: true, total: 255) do |row| %>
      <%= row[:qty] %>
    <% end %>
    <% table.with_column("Net sales", numeric: true, total: "$155,830.00") do |row| %>
      <%= row[:sales] %>
    <% end %>

    <% table.with_footer do %>
      <p>Showing 3 of 3 results</p>
    <% end %>
  <% end %>
<% end %>
